  <style>
        body {
            padding: 0;
            margin: 0;
        }

        /*div {*/
        /*border: 1px solid red;*/
        /*}*/


        .header {
            width: 100%;
            height: 100px;

        }


        .logo {
            background: url("img/logo.png");
            width: 174px;
            height: 79px;
            float: left;
            margin-left: 200px;
            margin-top: 10px;
        }

        .service {
            margin-top: 20px;
            background: url("img/service.png");
            width: 321px;
            height: 55px;
            float: right;
            margin-right: 200px;

        }


        .content {
            width: 100%;
            height: 600px;
            background: url("https://img.vipstatic.com/upload/flow/2018/06/15/157/15290438491111.jpg");
            background-repeat: no-repeat; /*图片不能让嗯填充满的时候， 不重复显示*/
        }


        .main {
            width: 360px;
            height: 300px;
            float: right; /*将div标签向右对齐*/
            margin-right: 150px;
            margin-top: 100px;
            padding: 20px 20px 30px 20px; /*内边距: 上右下左*/
            background: white;
            text-align: center;

        }

        #registerText {
            font-size: 20px;
            font-weight: bold;

        }


        #loginText {
            float: right; /*div向右偏移*/
            display: inline; /*块级元素变为行内元素*/
        }

        .main input {
            margin-top: 20px;
            height: 40px;
            width: 300px;
            border: 1px solid darkgray;
            border-radius: 10px;
            text-align: left;
            padding-left: 20px;
        }


        .main .code {
            width: 140px;
        }


        .main input[type='checkbox'] {
            width: 2px;
            height: 2px;
        }

        .main input[type='submit'] {
            background: #f10180;
            color: white;
            border: 1px solid #f10180;
            margin-top: 30px;
            text-align: center;
        }


        .main a {
            text-decoration: none;
            color: #1d94d1;
            font-size: 13px;
        }

        .main #loginText a {
            color: #f10180;
            font-size: 15px;
        }

        .footer {
            width: 100%;
            height: 100px;
            text-align: center;
            padding-top: 50px;
        }


    </style>
